package core;

import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.PriorityQueue;

import core.instruction.Action;
import core.state.LoadingScreen;
import core.state.State;

public class WizardsController implements KeyListener{
	
	public final Loader l = new Loader();
	State s;
	public static void main(String[] args){
		
		(new WizardsController()).start();
		
	}
	
	PriorityQueue<Action> actions = new PriorityQueue<Action>(); //needs to become a time-sorted, priority sorted queue?
	
	
	
	private void start(){
		//l = new Loader();
		l.run();
		s = new LoadingScreen(this);
		

	}
	
	public void instruct(Action i){
		actions.add(i);
	}

	@Override
	public void keyPressed(KeyEvent arg0) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void keyReleased(KeyEvent arg0) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void keyTyped(KeyEvent arg0) {
		// TODO Auto-generated method stub
		
	}
}
